import axios from "../utils/requests.js";           //引入封装好的axios
import base from "./base.js";                       //引入接口列表

const api = {
    /**
     * 登录功能
     */
    login(params) {
        return axios.post(base.baseURL+base.login,params)
    },
    test_response(params) {
        return axios.get(base.baseURL+base.test_response,params)
    },
    get_menu(params) {
        return axios.get(base.baseURL+base.get_menu,params)
    },
}

export default api